Optimal. Leaf size=177 \[ -\frac{b \sqrt{c^2 d x^2+d} \text{PolyLog}\left (2,-e^{\sinh ^{-1}(c x)}\right )}{\sqrt{c^2 x^2+1}}+\frac{b \sqrt{c^2 d x^2+d} \text{PolyLog}\left (2,e^{\sinh ^{-1}(c x)}\right )}{\sqrt{c^2 x^2+1}}+\sqrt{c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )-\frac{2 \sqrt{c^2 d x^2+d} \tanh ^{-1}\left (e^{\sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )}{\sqrt{c^2 x^2+1}}-\frac{b c x \sqrt{c^2 d x^2+d}}{\sqrt{c^2 x^2+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.195302, antiderivative size = 177, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 6, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {5742, 5760, 4182, 2279, 2391, 8} \[ -\frac{b \sqrt{c^2 d x^2+d} \text{PolyLog}\left (2,-e^{\sinh ^{-1}(c x)}\right )}{\sqrt{c^2 x^2+1}}+\frac{b \sqrt{c^2 d x^2+d} \text{PolyLog}\left (2,e^{\sinh ^{-1}(c x)}\right )}{\sqrt{c^2 x^2+1}}+\sqrt{c^2 d x^2+d} \left (a+b \sinh ^{-1}(c x)\right )-\frac{2 \sqrt{c^2 d x^2+d} \tanh ^{-1}\left (e^{\sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )}{\sqrt{c^2 x^2+1}}-\frac{b c x \sqrt{c^2 d x^2+d}}{\sqrt{c^2 x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5742
Rule 5760
Rule 4182
Rule 2279
Rule 2391
Rule 8
Rubi steps
\begin{align*} \int \frac{\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )}{x} \, dx &=\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )+\frac{\sqrt{d+c^2 d x^2} \int \frac{a+b \sinh ^{-1}(c x)}{x \sqrt{1+c^2 x^2}} \, dx}{\sqrt{1+c^2 x^2}}-\frac{\left (b c \sqrt{d+c^2 d x^2}\right ) \int 1 \, dx}{\sqrt{1+c^2 x^2}}\\ &=-\frac{b c x \sqrt{d+c^2 d x^2}}{\sqrt{1+c^2 x^2}}+\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )+\frac{\sqrt{d+c^2 d x^2} \operatorname{Subst}\left (\int (a+b x) \text{csch}(x) \, dx,x,\sinh ^{-1}(c x)\right )}{\sqrt{1+c^2 x^2}}\\ &=-\frac{b c x \sqrt{d+c^2 d x^2}}{\sqrt{1+c^2 x^2}}+\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )-\frac{2 \sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )}{\sqrt{1+c^2 x^2}}-\frac{\left (b \sqrt{d+c^2 d x^2}\right ) \operatorname{Subst}\left (\int \log \left (1-e^x\right ) \, dx,x,\sinh ^{-1}(c x)\right )}{\sqrt{1+c^2 x^2}}+\frac{\left (b \sqrt{d+c^2 d x^2}\right ) \operatorname{Subst}\left (\int \log \left (1+e^x\right ) \, dx,x,\sinh ^{-1}(c x)\right )}{\sqrt{1+c^2 x^2}}\\ &=-\frac{b c x \sqrt{d+c^2 d x^2}}{\sqrt{1+c^2 x^2}}+\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )-\frac{2 \sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )}{\sqrt{1+c^2 x^2}}-\frac{\left (b \sqrt{d+c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{\log (1-x)}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )}{\sqrt{1+c^2 x^2}}+\frac{\left (b \sqrt{d+c^2 d x^2}\right ) \operatorname{Subst}\left (\int \frac{\log (1+x)}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )}{\sqrt{1+c^2 x^2}}\\ &=-\frac{b c x \sqrt{d+c^2 d x^2}}{\sqrt{1+c^2 x^2}}+\sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right )-\frac{2 \sqrt{d+c^2 d x^2} \left (a+b \sinh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )}{\sqrt{1+c^2 x^2}}-\frac{b \sqrt{d+c^2 d x^2} \text{Li}_2\left (-e^{\sinh ^{-1}(c x)}\right )}{\sqrt{1+c^2 x^2}}+\frac{b \sqrt{d+c^2 d x^2} \text{Li}_2\left (e^{\sinh ^{-1}(c x)}\right )}{\sqrt{1+c^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.451983, size = 168, normalized size = 0.95 \[ \frac{b \sqrt{c^2 d x^2+d} \left (\text{PolyLog}\left (2,-e^{-\sinh ^{-1}(c x)}\right )-\text{PolyLog}\left (2,e^{-\sinh ^{-1}(c x)}\right )+\sqrt{c^2 x^2+1} \sinh ^{-1}(c x)-c x+\sinh ^{-1}(c x) \log \left (1-e^{-\sinh ^{-1}(c x)}\right )-\sinh ^{-1}(c x) \log \left (e^{-\sinh ^{-1}(c x)}+1\right )\right )}{\sqrt{c^2 x^2+1}}+a \sqrt{c^2 d x^2+d}-a \sqrt{d} \log \left (\sqrt{d} \sqrt{c^2 d x^2+d}+d\right )+a \sqrt{d} \log (x) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.146, size = 331, normalized size = 1.9 \begin{align*} -\ln \left ({\frac{1}{x} \left ( 2\,d+2\,\sqrt{d}\sqrt{{c}^{2}d{x}^{2}+d} \right ) } \right ) \sqrt{d}a+a\sqrt{{c}^{2}d{x}^{2}+d}+{\frac{b{\it Arcsinh} \left ( cx \right ){x}^{2}{c}^{2}}{{c}^{2}{x}^{2}+1}\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }}-{bcx\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }{\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}}+{\frac{b{\it Arcsinh} \left ( cx \right ) }{{c}^{2}{x}^{2}+1}\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }}-{b{\it Arcsinh} \left ( cx \right ) \sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }\ln \left ( 1+cx+\sqrt{{c}^{2}{x}^{2}+1} \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}}-{b\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }{\it polylog} \left ( 2,-cx-\sqrt{{c}^{2}{x}^{2}+1} \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}}+{b{\it Arcsinh} \left ( cx \right ) \sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }\ln \left ( 1-cx-\sqrt{{c}^{2}{x}^{2}+1} \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}}+{b\sqrt{d \left ({c}^{2}{x}^{2}+1 \right ) }{\it polylog} \left ( 2,cx+\sqrt{{c}^{2}{x}^{2}+1} \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}+1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{c^{2} d x^{2} + d}{\left (b \operatorname{arsinh}\left (c x\right ) + a\right )}}{x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{d \left (c^{2} x^{2} + 1\right )} \left (a + b \operatorname{asinh}{\left (c x \right )}\right )}{x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{c^{2} d x^{2} + d}{\left (b \operatorname{arsinh}\left (c x\right ) + a\right )}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]